import matplotlib.pyplot as plt
import numpy as np
ypoints = np.random.randn(1000)
xpoints = np.array(range(0,1000))
plt.plot(xpoints, ypoints,marker='o',linestyle='dotted')# 'o' 绘制圆点 标记
plt.grid()
plt.show()